//
// Created by wxd on 2025/9/11.
//

#include "ParallelLight.h"

std::string ParallelLight::uParallelLightColor = "uParallelLight.color";
std::string ParallelLight::uParallelLightDirection = "uParallelLight.direction";
std::string ParallelLight::uParallelLightIntensity = "uParallelLight.intensity";

void ParallelLight::setDirection(const glm::vec3 &direction) {
    mDirection = glm::normalize(direction);
}

glm::vec3 ParallelLight::getDirection() const {
    return mDirection;
}